﻿<ui:View x:Class="CPPEI.Coolzon.UI.Views.ReConnectView"
         xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=Sunboxsoft.ChanceData.Core"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="400">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" HorizontalAlignment="Center" Orientation="Horizontal">
            <Image Source="/CPPEI.Coolzon.UI.Views;component/Images/loading.gif"  Width="80" />
            <TextBlock Text="程序与服务器连接已断开,请关闭程序！" FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" Width="auto" />
        </StackPanel>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <!--<Button x:Name="btn_ReConnect" Content="重新登陆" Width="60" Height="30" Margin="30"></Button>-->
            <Button x:Name="btn_Quit" Content="关闭程序" Width="60" Height="25"  Click="btn_Quit_Click"></Button>
        </StackPanel>
    </Grid>
</ui:View>
